#!/bin/bash

# bash for loop
for f in $( ls ../ ); do
  if [[ $f == "test-"* ]]; then
    echo $f;
  fi
done